
import request from "../util/request";


export  const geoAPi = (address)=>{
    return request.get(`https://restapi.amap.com/v3/geocode/geo?key=4bbae10e5e1c02749cc1de6740be8f63&address=${address}`).then(res=>res.data)
}
export  const regeoAPi = (j,w)=>{
    return request.get(`https://restapi.amap.com/v3/geocode/regeo?key=4bbae10e5e1c02749cc1de6740be8f63&location=${j},${w}`).then(res=>res.data)
}